home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2200 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: detroit.freenet.org!ab411
  2. From: ab411@detroit.freenet.org (David R. Conrad)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: C or C++ for a 14-year old?
  5. Date: 19 Jan 1996 19:26:36 GMT
  6. Organization: Greater Detroit Free-Net, Detroit, MI
  7. Message-ID: <4dor9c$ko6@detroit.freenet.org>
  8. References: <4ddsg4$p4e@sundog.tiac.net> <4b30ld$lp2$1@mhafc.production.compuserve.com> <4d4jeh$fv1@wombat.melbpc.org.au> <w+PJjMD
  9. Reply-To: ab411@detroit.freenet.org (David R. Conrad)
  10. NNTP-Posting-Host: detroit.freenet.org
  11.  
  12.  
  13. In a previous article, amoreira@nine.com (Alberto C Moreira) says:
  14. > [ someone said not to learn C under DOS ]
  15. >
  16. >Still, there's no worse restriction on a programmer than not to be
  17. >able to talk directly to the hardware. 
  18.  
  19. I don't know about that.
  20.  
  21. When I learned C it was under DOS, but I made every effort to learn ANSI C,
  22. not DOS C, and to write portable code.  Nowadays I use unix without trouble.
  23.  
  24. A friend of mine used every DOS trick he could, always preferring to go to
  25. the hardware wherever possible.  He wrote a few nice programs under DOS,
  26. but he's hopeless anywhere else, and his code is absolutely not portable.
  27.  
  28. Not being able to talk to the hardware may keep you from learning bad habits.
  29.  
  30. >The best operating system isn't the one that does more, but the one
  31. >that gets out of the way when it's not needed. With DOS, I can
  32. >reach my hardware any time I want. With Windows, I can do that by
  33. >writing a VDD. With Windows 95, I can load that VDD on the fly.
  34. >
  35. >With Unix, I probably need to recompile the kernel - that is, if I'm a
  36. >hacker and I have the Unix source code.
  37.  
  38. Well, since it sounds like you already are a hacker, and since any
  39. decent unix system -- like linux or freebsd -- comes with kernel source,
  40. I guess this isn't a problem, eh?
  41.  
  42. -- 
  43. David R. Conrad, conrad@detroit.freenet.org, http://www.grfn.org/~conrad
  44. Hardware & Software Committee : finger -l conrad@grfn.org for public key
  45. Key fingerprint =  33 12 BC 77 48 81 99 A5  D8 9C 43 16 3C 37 0B 50
  46. No, his mind is not for rent to any god or government.
  47.